package domain.entity;

/**
 * @auther 周志豪
 * @since 2025/4/20 14:19
 */
public class User {
    public int id;
    public String username;
    public String name;
    public String moblie;
    public String email;
    public int deptId;
    public int roleId;
    public  boolean enabled = true;

    public User(int id) {
        this.id = id;
    }

    public User(String username, String name, String moblie, String email, int deptId, int roleId) {
        this.username = username;
        this.name = name;
        this.moblie = moblie;
        this.email = email;
        this.deptId = deptId;
        this.roleId = roleId;
    }
}
